import { $ } from './library/jquery-module.js';
import { cookie } from './library/cookie.js';

$('#toReg').on('click', function() {
    location.href = "./reg.html";
});
$('.logo').on('click', function() {
    location.href = "./index.html";
});

if (cookie.get('isLogined')) {
    // 如果登陆了
    location.href = './loading.html?type=6';
}